package com.iims.flowable.flow.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author fanpei
 * @date 2021/7/1 22:33
 */
@ApiModel("流程部署请求")
@Data
public class DeployFormRequest {
    @ApiModelProperty(value = "部署表单Key", required = true)
    @NotBlank(message = "部署表单Key不能为空")
    private String formKey;

    @ApiModelProperty(value = "流程定义key", required = true)
    @NotBlank(message = "流程定义Key不能为空")
    private String processDefinitionKey;
}
